//引入样式
require("../../assets/css/reset.css")
require('../../assets/css/normalize.css')
require('./ad.less');
//引入模板
const dom = require('../../utils/dom.js')

document.addEventListener("DOMContentLoaded", function () {
    // 倒计时
    let time = 5;
    setInterval(function () {
        time--;
        dom.get('#num').textContent = time;
        if (time === 0) {
            location.href = 'login.html';
        }
    }, 1000)
})
